<template>
  <div>
           <van-nav-bar
  title="标题"
  left-text="返回"
 
  left-arrow
  @click-left="onClickLeft"

/>
  </div>
</template>

<script>
import { NavBar } from 'vant';
export default {
    name:'top',
    components:{
[NavBar.name]:NavBar
    },
  data() {
    return {

    };
  },
  methods: {
onClickLeft(){
  this.$router.back()
},
  },
};
</script>

<style lang="less" scoped>

</style>